package com.ibm.mall.model;

import java.sql.Blob;
/**
 * 商品
 * @author ASUS
 *
 */
public class Commodity {
	//编号
	private Integer id;
	//商品名称
	private String commodityName;
	//商品价格
	private Double commodityPrice;
	//商品图片
	private Blob commodityImage;
	//商品数量
	private Integer commodityQuantity;
	//商品剩余数量
	private Integer commodityRemainNumber;
	//商品描述
	private String commodityDescription;
	//生产厂家
	private String commodityManufacturer;
	//插入时间
	private String insertTime;
	//最后修改时间
	private String lastUpdateTime;
	//是否删除
	private Short status;
	//商品类别
	private CommodityClass commodityClass;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public Double getCommodityPrice() {
		return commodityPrice;
	}
	public void setCommodityPrice(Double commodityPrice) {
		this.commodityPrice = commodityPrice;
	}
	public Blob getCommodityImage() {
		return commodityImage;
	}
	public void setCommodityImage(Blob commodityImage) {
		this.commodityImage = commodityImage;
	}
	public Integer getCommodityQuantity() {
		return commodityQuantity;
	}
	public void setCommodityQuantity(Integer commodityQuantity) {
		this.commodityQuantity = commodityQuantity;
	}
	public Integer getCommodityRemainNumber() {
		return commodityRemainNumber;
	}
	public void setCommodityRemainNumber(Integer commodityRemainNumber) {
		this.commodityRemainNumber = commodityRemainNumber;
	}
	public String getCommodityDescription() {
		return commodityDescription;
	}
	public void setCommodityDescription(String commodityDescription) {
		this.commodityDescription = commodityDescription;
	}
	public String getCommodityManufacturer() {
		return commodityManufacturer;
	}
	public void setCommodityManufacturer(String commodityManufacturer) {
		this.commodityManufacturer = commodityManufacturer;
	}
	public String getInsertTime() {
		return insertTime;
	}
	public void setInsertTime(String insertTime) {
		this.insertTime = insertTime;
	}
	public String getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	public Short getStatus() {
		return status;
	}
	public void setStatus(Short status) {
		this.status = status;
	}
	public CommodityClass getCommodityClass() {
		return commodityClass;
	}
	public void setCommodityClass(CommodityClass commodityClass) {
		this.commodityClass = commodityClass;
	}
	
}
